# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-vlc
pkgver=3.0.12118
pkgrel=1
pkgdesc="VLC bindings for Python"
url="https://wiki.videolan.org/PythonBinding"
arch="noarch !s390x !armhf !riscv64" # limited by vlc
license="LGPL-2.1-or-later"
depends="
	python3
	vlc
	"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/p/python-vlc/python-vlc-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/python-vlc-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
d84e373b77b763c169fa4c2ffcdec979fca44cc40e873865b6a55d79481f2b01711fee48f8ab7ca2506ed73a72b970b6fd410f121c24120640ddc0ef5efbd05b  python-vlc-3.0.12118.tar.gz
"
